package com.vogue.supplymall.account.domain.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.vogue.supplymall.account.domain.dao.BaseCategoryDao;
import com.vogue.supplymall.account.domain.mapper.BaseCategoryMapper;
import com.vogue.supplymall.account.domain.model.BaseCategory;

@Repository("baseCategoryDao")
public class BaseCategoryDaoImpl extends BaseDaoImpl<BaseCategory, Long> implements BaseCategoryDao{
	
	@SuppressWarnings("unused")
	@Autowired
	private BaseCategoryMapper baseCategoryMapper;
	
	@Override
	public String getAllCategorySql() {
		String sql="select id,name from base_category";
		
		return sql;
	}

}
